package cn.aitrox.ry.service.anno.service;

import cn.aitrox.ry.bean.RespResult;
import cn.aitrox.ry.service.anno.entity.AnnoFileHandlerInfoEntity;
import cn.aitrox.ry.service.anno.enumtype.FileHandlerBizTypeEnum;
import cn.aitrox.ry.service.anno.mq.msg.FileHandlerMsg;

public interface FileHandlerInfoService {

    RespResult<String> getDeepzoomUrl(Integer taskId, String seriesUid, Boolean returnUrl);

    void handlerMsg(FileHandlerMsg fileHandlerMsg);

    RespResult<AnnoFileHandlerInfoEntity> downloadImage4Task(FileHandlerBizTypeEnum bizTypeEnum, Integer taskId, String seriesUid);

    RespResult downloadImage(AnnoFileHandlerInfoEntity handlerInfoEntity);

    String getTargetFilePath(FileHandlerBizTypeEnum fileHandlerBizTypeEnum, Integer taskId, String seriesUid, String resourceKey);
}
